#ifndef D3DINCLUDE
#define D3DINCLUDE
#ifdef RENDERD3D9_EXPORT
#define XR_ENTRY __declspec(dllexport)
#else
#define XR_ENTRY __declspec(dllimport)
#endif
#include <d3d9.h>
#include <d3dx9.h>
#pragma comment(lib,"d3d9.lib")
#pragma comment(lib,"d3dx9.lib")
#endif